package cn.hongwei.eduservice.feign;

import cn.hongwei.eduservice.feign.fallback.FallbackPlain;
import cn.hongwei.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author Great
 * @email 1224028994@qq.com
 */
@FeignClient(value = "service-oss",fallback = FallbackPlain.class)//远程调用删除图片
public interface OSSFeign {

    @DeleteMapping("/oss/delete")
    public R delete(@RequestParam("path") String path,@RequestParam("module") String module);
}
